home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 52
/
Amiga Format AFCD52 (Issue 136, May 2000).iso
/
-serious-
/
programming
/
basic
/
clockita
/
clockita.readme
next >
Wrap
Text File
|
2000-02-28
|
5KB
|
94 lines
Short: Italian clock with alarm + source code
Author: StefanoRegattin@lycosmail.com (Stefano Regattin)
Uploader: stefano.regattin@tin.it (Stefano Regattin)
Type: dev/basic
Distribution: OK
Date: Sunday, 12th February 2000
Name of the program: Orologio
This is an italian evolution of the example program "Clock.bb" supplied with
Blitz2.
You can change the clock font by pointing with the mouse pointer in the window
and clicking the left mouse button; in this case you will see a new window
containing some string gadgets: the top-left gadget must be used to type the
alarm's hour and mins; the next gadget at the right must be used to activate
or to deactivate the alarm; when the alarm is activated, in the clock window
will be showed a bubble; the longest gadget must be used to select the font:
type the name of the font (with or without the ".font" suffix) that you know it
resides in your FONTS: drawer; pressing RIGHTAMIGA-X keys you will clean the
gadget; pressing subsequently the ENTER key you will be able to see all fonts
that resides in your FONTS: drawer and you will can select one of these. In this
case the last gadget at top-right will show the height of the font you have
selected and always you will can modify it.
The following two gadgets are for type into the coordinates of the top-left
corner of the clock window.
The "*** Salva ***" gadget permit to save any change.
The default font is "Data70.font", a font made by me supplied with the program.
I think that this font is better than the font "2001.font" supplied with AMOS
Pro.
This font is suited for italian language, for which the character "è" capital is
obtainable with the "§" character; however it have all the chars from (ASCII) 32
to 255 now!
Use it for games in low resolution, it is better!
There is the source code (Orlogio.bb2) for free modifications.
How to install the "Data70" font: copy in your drawer "FONTS:" the file named
"Data70.font".
Create in your drawer "FONTS:" the drawer "Data70" and copy into it the file
"13".
The executable icon is a ColorIcon (OS3.5) taken from the archive
ReallyIcons.lha by Angel Schnider.
You can specify the font name, the font size and the coordinates of the position
of the main window by tooltypes; when the program is launched if there are the
tooltypes the information are taken from these, otherwise they are set to
default.
For who don't know, tooltypes are those parameters showed in the icon
information window that is showed if you select the voice INFORMATION of the
ICON menu.
See my home page to the Internet address: utenti.tripod.it/esseerre/Stefano.html
The following is the same text in italian.
Data: domenica, 6 febbraio 2000
Nome del programma: Orologio
Questa è un'evoluzione italiana del programma d'esempio "Clock.bb" fornito con
Blitz2.
Potete cambiare il font dell'orologio portando il puntatore del mouse nella
finestra e cliccando con il tasto sinistro del mouse; in questo caso vedrete una
nuova finestra contenente alcuni campi per l'immissione di testo: il campo in
alto a sinistra deve essere usato per digitare l'ora ed i minuti dell'allarme;
il campo successivo a destra deve essere usato per attivare o disattivare
l'allarme; quando l'allarme è attivato, nella finestra dell'orologio comparirà
una bolla; il campo più lungo in basso deve essere usato per selezionare il
font; digitate il nome del font (con o senza il suffisso ".font") che sapete che
si trova nel vostro cassetto FONTS:; premendo i tasti AMIGA-destro e X pulirete
il campo; premendo successivamente il tasto ENTER sarete in grado di vedere
tutti i font che si trovano nel vostro cassetto FONTS: e potrete selezionarne
uno; in questo caso il campo in alto a destra mosterà l'altezza del font
selezionato che potrete sempre modificare.
I seguenti due campi in basso servono per impostare le coordinate dell'angolo in
alto a sinistra della finestra dell'orologio.
Il Bottone "*** Salva ***" permette di salvare ogni cambiamento.
Il font di default è "Data70.font", un font fatto da me fornito col programma.
Io credo che questo font sia migliore del font "2001.font" fornito con AMOS Pro.
Questo font è adattato per la lingua italiana, per la quale il carattere che
inizia questa frase è ottenibile con il carattere "§"; comunque ha tutti i
caratteri dal (ASCII) 32 al 255.
Usatelo in giochi a bassa risoluzione, rende meglio!
C'è il codice sorgente (Orlogio.bb2) per libere modifiche.
Come installare il font "Data70": copiate nel vostro cassetto "FONTS:" il file
"Data70.font".
Create nel vostro cassetto "FONTS:" il cassetto "Data70" e copiatevi il file
"13".
L'icona dell'eseguiblie e un'icona ColorIcon (OS3.5) presa dall'archivio
ReallyIcons.lha di Angel Schnider.
Potete specificare il nome del font, l'altezza del font e le coordinate della
posizione della finestra principale con i tooltype; quando lanciate il programma
se ci sono i tooltype le informazioni vengono prese da questi, altrimenti sono
impostate ai valori di default.
Per chi non lo sapesse, i tooltype sono quei parametri mostrati nella finestra
delle informazioni dell'icona che esce se selezionate la voce INFORMAZIONI dal
menù ICONE.
Guardate la mia pagina su Internet all'indirizzo:
utenti.tripod.it/esseerre/Stefano.html
Ciao!